Skip to content

[WIP] A game of surface codes demo #1355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 33 commits into
base: dev
Choose a base branch
from
Open

[WIP] A game of surface codes demo #1355

wants to merge 33 commits into from

Conversation

Qottmann
Copy link
Collaborator

@Qottmann Qottmann commented Apr 22, 2025

P0 Game of Surface Codes Demo 2025 Q2 [sc-87600]

open question:

  • do I understand it correct that single X and Z measurements are free, but joint measurements cost 1 🕒? >> yes
  • What does it mean that the error probability of the distillation of 15 faulty magic states with $p$ leads to a faulty magic state with probability $35p^3$, yet, the probability of failure is $(1-p)^n$? 🤔 >> p is the infidelity of the state, and $35p^3$ is the infidelity of the distilled state. The success chance of not having an error is $(1-p)^n$

Copy link

👋 Hey, looks like you've updated some demos!

🐘 Don't forget to update the dateOfLastModification in the associated metadata files so your changes are reflected in Glass Onion (search and recommendations).

Please hide this comment once the field(s) are updated. Thanks!

Copy link

github-actions bot commented Apr 22, 2025

Thank you for opening this pull request.

You can find the built site at this link.

Deployment Info:

  • Pull Request ID: 1355
  • Deployment SHA: 68d3d436bf28eac1d1daac46e626902c8a588d9b
    (The Deployment SHA refers to the latest commit hash the docs were built from)

Note: It may take several minutes for updates to this pull request to be reflected on the deployed site.

Copy link
Contributor

@dime10 dime10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice demo! 🤩

Nothing much to say except minor editing and a few questions/suggestions.

r"""A Game of Surface Codes: Large-Scale Quantum Computing with Lattice Surgery
===============================================================================

abstract
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an abstract to be added?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes and a "hero image" :)

However, it still helps to understand the correspondences in physical fault tolerant quantum computing (FTQC) architectures.
First of all it is important to note that we consider surface codes that implement `(Clifford + T) <https://pennylane.ai/compilation/clifford-t-gate-set>`__ circuits.
In particular, these circuits can be compiled to circuits that just perform `Pauli product measurements <https://pennylane.ai/compilation/pauli-product-measurement>`__.
This is because all Clifford operations can be moved to the end of the circuit and merged with measurements.
Copy link
Contributor

@dime10 dime10 Apr 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it is too much detail at this point, but Clifford operations can also be implemented via measurements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants